<template>
	<view class="page-index" :style="{ 'padding-top': menuButtonInfo.bottom + 10 + 'px' }">
		<view class="topBox" :style="{ height: menuButtonInfo.bottom + 10 + 'px', background: background }">
			<view class="topItem" :style="{ height: menuButtonInfo.bottom - menuButtonInfo.top + 'px' }">
				<view class="topBack" @click="back()"><uni-icons type="left" size="26" color="#000"></uni-icons></view>
				<view class="topTitle">立即下单</view>
				<view class="" style="opacity: 0;"><uni-icons type="left" size="28" color="#000"></uni-icons></view>
			</view>
		</view>
		<view class="titleBox">
			<view class="titleLeft">
				<view class="title">Hi</view>
				<view class="title" style="margin: 8rpx 0;">有什么可以帮您！</view>
				<view class="tips">竭诚解决您的问题</view>
			</view>
			<image class="titleRight" src="https://ddc.jishixiu.fun/uploads/20250904/55938c0acb9dcefdbb9666b3db592848.png" mode=""></image>
		</view>
		<view class="kfList">
			<button class="kfItem" open-type='contact'>
				<image src="https://ddc.jishixiu.fun/uploads/20250904/acf430e0a3546c4ac14ae60afc93a11c.png" mode="" class="kfImage"></image>
				<view class="kfBox">
					<view class="kfBoxLeft">
						<view class="kfBoxTitle">在线客服</view>
						<view class="kfBoxValue">24小时 1对1微信服务</view>
						<view class="kfBoxTips">全程为您服务</view>
					</view>
					<view class="kfBoxRight"><uni-icons type="right" size="24" color="#999"></uni-icons></view>
				</view>
			</button>
			<view class="kfItem" @click="getKefuPhone()">
				<image src="https://ddc.jishixiu.fun/uploads/20250904/21bff1468ed96370d3d8f860f51d3166.png" mode="" class="kfImage"></image>
				<view class="kfBox">
					<view class="kfBoxLeft">
						<view class="kfBoxTitle">电话客服</view>
						<view class="kfBoxValue">工作时间：07:00-24:00</view>
						<view class="kfBoxTips">高峰期比较忙 需要排队等待</view>
					</view>
					<view class="kfBoxRight"><uni-icons type="right" size="22" color="#999"></uni-icons></view>
				</view>
			</view>
		</view>
	</view>
</template>

<script src="./page.js"></script>

<style scoped lang="scss">
@import 'page.scss';
</style>
